package com.lifeng.patterns.strategy;

import org.springframework.stereotype.Service;

/**
 * Created by lifeng on 2019/8/15.
 * 微信支付
 */
@Service("wechat")
public class WeChatPayService implements PayType{
    @Override
    public void pay(PayOrderVo vo) {
        //此处通过payOrderVo 组装调起微信支付的参数
        System.out.println("微信支付");
    }

    @Override
    public String getPayType() {
        return "wechat";
    }
}
